summaryrefslogtreecommitdiff
path: root/frontend/app/v2/[...path]
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/v2/[...path]')
-rw-r--r--frontend/app/v2/[...path]/page.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/app/v2/[...path]/page.tsx b/frontend/app/v2/[...path]/page.tsx
new file mode 100644
index 0000000..4af0167
--- /dev/null
+++ b/frontend/app/v2/[...path]/page.tsx
@@ -0,0 +1,12 @@
1import { V2DirectoryView } from "@/components/v2/V2DirectoryView"
2
3export default async function V2DirectoryPage({
4 params,
5}: {
6 params: Promise<{ path: string[] }>
7}) {
8 const { path: pathSegments } = await params
9 const currentPath = '/' + (pathSegments?.join('/') || '')
10
11 return <V2DirectoryView path={currentPath} />
12} \ No newline at end of file